package com.jay.test.designModel.structure.decorator;

/**
 * Created by caoyuan7 on 2018/10/23.
 */
/**
 * 这个是原本要装饰AAA
 */
public class ConcreteDecoratorA extends Decorator {

    public ConcreteDecoratorA(Component component) {
        super(component);
    }

    @Override
    public void sampleOperation() {
        super.sampleOperation();
        // 写相关的业务代码
        System.out.println("AAAAAA Move");
    }
}